<?php echo $this->Html->script('timesheets'); ?>
<?php echo $this->Html->script('JqueryDatepicker'); ?>
<div class="timesheets form">
<?php echo $this->Form->create('Timesheet'); ?>
    <fieldset>
        <legend><?php echo __('Add Timesheet'); ?></legend>
    <?php
        echo $this->Form->input('user_id',array('label' => 'User ID'));
        echo $this->Form->input('name');
        echo $this->Form->input('date',array('type' => 'datepicker'));
        echo $this->Form->input('start_time',array('type' => 'time' ,'interval' => 15));
        echo $this->Form->input('end_time',array('type' => 'time' ,'interval' => 15));
        echo $this->Form->input('total_no_hrs',array('type' => 'hidden','label' => 'Total Number of Hours'));
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Back'), array('action' => 'index')); ?></li>
	</ul>
</div>

